package com.example.demo.service;

import com.example.demo.pojo.User;

/**
 * @author luolinila
 */
public interface UserService {
    public User getUserById(int id);
    public String sendEmail(String email);
    public int enroll(String username, String password, String email, String statue);
    public User loginByEmailCode(String email, String code);
    public User loginByEmailPassword(String email, String password);
    public User loginByAccountPassword(String account, String password);
}
